The Lab 2 exercises were written for a PIC16F88 processor with a single LED connected to an output pin. We are using PORTA BIT 0, which means that you should use pin 17 of the PICmicro as the output. The LED should be connected between pin 17 and pin 5 of the PICmicro, with a suitable current limiting resistor.
To provide the inputs you will need to connect push switches to PORTA BIT 0 and PORTA BIT 1. The switches should pull the inputs high when pressed down.
Matrix E-blocks users
The Lab 1 exercises require an EB004 LED board and an EB007 Switches baord connected to Port A.
An example layout is shown opposite.
E-blocks setup for Lab 2